let BASE_URL = '';
if(process.env.NODE_ENV==='production'){
    BASE_URL = 'http://localhost:3000'
}
// 排行榜
export const TOP_LIST = BASE_URL + '/toplist/detail';
//轮播图
export const BANNER = BASE_URL + '/banner?type=2'
//DJ轮播图
export const DJ_BANNER=BASE_URL + '/dj/banner'
//热搜列表
export const HOT = BASE_URL + '/search/hot'
//搜索
export const SEARCH =BASE_URL + '/search?keywords='
//音乐URL
export const URL = BASE_URL + '/song/url?id='
//音乐是否可用
export const CHECK = BASE_URL + '/check/music?id='
//歌词(根据歌曲ID)
export const LRC = BASE_URL + '/lyric?id='
//专辑信息(根据专辑ID,专辑ID可从歌曲信息获取)
export const ALBUM = BASE_URL + '/album?id='
//歌曲详情(根据歌曲ID)
export const DETAIL = BASE_URL + '/song/detail?ids='
//精品歌单
export const PLAY_LIST =BASE_URL + '/top/playlist/highquality'
//歌单详情
export const PLAY_LIST_DETAIL =BASE_URL +  '/playlist/detail?id='
//搜索建议
export const SEARCH_SUGGEST =BASE_URL +  '/search/suggest?type=mobile&keywords='
//歌曲评论
export const SONG_COMMENT =BASE_URL +  '/comment/music?limit=1&id=';
//不同榜单(暂时没用)
export const TOP = 'top/list?idx='